package com.yimi.yinhepda.db.table;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * @author 000432
 * @date 2017/4/12
 * 分拣数据表
 */
@DatabaseTable(tableName = "sortScanTable") public class SortScanTable {
  @DatabaseField(generatedId = true) private transient Long id;
  /** 扫描人工号 */
  @DatabaseField private String inputCode;
  /** 分拣人姓名 */
  @DatabaseField private String inputUser;
  /** 扫描时间 */
  @DatabaseField private String inputTime;
  /** 扫描时间  删除数据库用 */
  @DatabaseField private transient String scanTime;
  /** 上传时间 */
  @DatabaseField private String updateTime;
  /** 子单 */
  @DatabaseField private String waybillChildNo;
  /** 主单 */
  @DatabaseField private String waybillNo;
  /** 设备类型 */
  @DatabaseField private String equipmentType;
  /** 设备编码 */
  @DatabaseField private String equipmentCode;
  /** 所属网点 */
  @DatabaseField private String deptCode;
  /** 0未上传  1上传 */
  @DatabaseField private transient int isUpload;

  public SortScanTable(String inputCode, String inputUser, String inputTime, String scanTime, String updateTime, String waybillChildNo,
      String waybillNo, String equipmentType, String equipmentCode, String deptCode, int isUpload) {
    this.inputCode = inputCode;
    this.inputUser = inputUser;
    this.inputTime = inputTime;
    this.scanTime = scanTime;
    this.updateTime = updateTime;
    this.waybillChildNo = waybillChildNo;
    this.waybillNo = waybillNo;
    this.equipmentType = equipmentType;
    this.equipmentCode = equipmentCode;
    this.deptCode = deptCode;
    this.isUpload = isUpload;
  }

  public SortScanTable() {
  }

  public String getScanTime() {
    return scanTime;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public void setScanTime(String scanTime) {
    this.scanTime = scanTime;
  }

  public String getInputCode() {
    return inputCode;
  }

  public void setInputCode(String inputCode) {
    this.inputCode = inputCode;
  }

  public String getInputUser() {
    return inputUser;
  }

  public void setInputUser(String inputUser) {
    this.inputUser = inputUser;
  }

  public String getInputTime() {
    return inputTime;
  }

  public void setInputTime(String inputTime) {
    this.inputTime = inputTime;
  }

  public String getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(String updateTime) {
    this.updateTime = updateTime;
  }

  public String getWaybillChildNo() {
    return waybillChildNo;
  }

  public void setWaybillChildNo(String waybillChildNo) {
    this.waybillChildNo = waybillChildNo;
  }

  public String getWaybillNo() {
    return waybillNo;
  }

  public void setWaybillNo(String waybillNo) {
    this.waybillNo = waybillNo;
  }

  public String getEquipmentType() {
    return equipmentType;
  }

  public void setEquipmentType(String equipmentType) {
    this.equipmentType = equipmentType;
  }

  public String getEquipmentCode() {
    return equipmentCode;
  }

  public void setEquipmentCode(String equipmentCode) {
    this.equipmentCode = equipmentCode;
  }

  public String getDeptCode() {
    return deptCode;
  }

  public void setDeptCode(String deptCode) {
    this.deptCode = deptCode;
  }

  public int getIsUpload() {
    return isUpload;
  }

  public void setIsUpload(int isUpload) {
    this.isUpload = isUpload;
  }
}
